

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MyEncrypt : NSObject
//加密
+ (NSString *)encryptString:(NSString *)strData seed:(NSString *)seed;
//解密
+ (NSString *)decryptString:(NSString *)encryptedString seed:(NSString *)seed;

+ (NSString *)aesEncryptStringWithString:(NSString *)string andKey:(NSString *)key;
+ (NSData *)aesDecryptDataWithData:(NSData *)data andKey:(NSString *)key;
+ (NSData *)aesEncryptDataWithData:(NSData *)data Key:(NSString *)key;
+ (NSString *)aesDecryptStringWithString:(NSString *)string andKey:(NSString *)key;
@end

NS_ASSUME_NONNULL_END
